package com.molichuxing.framework.contants;

/**
 * redis key
 * 
 * @author zoumingyu
 * @date 2019年8月19日
 *
 */
public class RedisKeyConst {

	/**************************************** token key start *************************************************/
	/**
	 * op用户token key
	 */
	public final static String TOKEN_OP_KEY = "token:op:";
	/**
	 * op访问车联网接口token token key
	 */
	public final static String TOKEN_SEND_IOV_KEY = "token:sendIov:";
	/**
	 * op访问车联网接口token的reidis锁
	 */
	public final static String TOKEN_SEND_IOV_LOCK_KEY = "token:sendIov:lock";
	/**
	 * 经销商用户token key
	 */
	public final static String TOKEN_DEALER_KEY = "token:dealer:";
	/**
	 * 会员用户token key
	 */
	public final static String TOKEN_MOBILE_KEY = "token:mobile:";
	/**
	 * 终端会员用户token key
	 */
	public final static String TOKEN_TERMINAL_KEY = "token:terminal:";
	/**
	 * 销售顾问用户token key
	 */
	public final static String TOKEN_COUNSELOR_KEY = "token:counselor:";

	/**
	 * op权限
	 */
	public final static String OP_GROUP_PERMISSION = "permission:op:group:";

	/**
	 * op权限
	 */
	public final static String DEALER_GROUP_PERMISSION = "permission:dealer:group:";

	/**
	 * op脱敏字段
	 */
	public final static String OP_GROUP_DESENSE = "desense:op:group:";

	/**
	 * op敏感词
	 */
	public final static String OP_SENSITIVE_WORD = "sensitive:words:op:";

	/**************************************** token key end *************************************************/
	
	/**************************************** file storage key start *************************************************/
	
	/**
	 * 文件是否需要oss转换
	 */
	public final static String FILE_GENERATE = "file:generate";

	/**
	 * 文件存储配置key
	 */
	public final static String FILE_STORAGE_KEY = "file:storage:";

	/**************************************** file storage key end *************************************************/

	/**************************************** company key start *************************************************/
	
	/**
	 * 收款公司key
	 */
	public final static String RECEIPT_COMPANY = "company:receipt";
	
	/**************************************** company key end *************************************************/

	/**************************************** dealer key start *************************************************/
	
	/**
	 * 经销商-省份 key
	 */
	public final static String DEALER_PROVINCE = "dealer:province";
	/**
	 * 省份下经销商 key
	 */
	public final static String DEALER_PROVINCE_DEALER = "dealer:province:";
	/**
	 * 经销商下门店 key
	 */
	public final static String DEALER_STORE_DEALER = "dealer:store:dealer:";

	/**************************************** dealer key end *************************************************/
	
	/**************************************** 验证码 key start *************************************************/

	/**
	 * 用户登录&注册图形验证码 key
	 */
	public final static String IMG_USER_CODE_LOGIN = "img:user:code:login:";

	/**
	 * 用户登录&注册短信验证码 key
	 */
	public final static String SMS_USER_CODE_LOGIN = "sms:user:code:login:";

	/**
	 * 用户服务协议&合同确认短信验证码 key
	 */
	public final static String SMS_USER_CODE_CONTRACT = "sms:user:code:contract:";
	

	/***************************************** 验证码 key end *************************************************/


	/***************************************** 延时任务key start *************************************************/

	public final static String DELAY_ORDER_KEY = "delay:order:";

	/***************************************** 延时任务key end *************************************************/

	public final static String WECHAT_TOKEN_KEY = "wechat:token";

	public final static String WECHAT_TICKET_KEY = "wechat:ticket";

	/***************************************** 锁key start *************************************************/

	public final static String LOCK_TOKEN_KEY = "lock:";

	/***************************************** 锁key end *************************************************/

}
